<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		
		<title>{:C('sitename')}</title>
		
		<meta name="renderer" content="webkit">
		<meta name="format-detection" content="telephone=no,email=no"/>
		<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=0">
		<meta name="telephone=no"  content="format-detection">
		<meta name="apple-mobile-web-app-status-bar-style" content="black">
		<meta name="apple-mobile-web-app-capable" content="yes">
		<meta name="format-detection" content="telephone=no" />
		
		<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
		<META HTTP-EQUIV="Cache-Control" CONTENT="no-cache">
		<META HTTP-EQUIV="Expires" CONTENT="0">
		<link rel="stylesheet" type="text/css" href="__PUBLIC__/Home/css/page_index.css"/>
	</head>
	<body>
		<div class="head">
			<font>{:C('sitename')}</font>
			<if condition="$userinfo">
				<div class="user">
					<img src="{$userinfo.headimgurl}">
					<p>{$userinfo.nickname}</p> 
				</div>
			<else/>
				<div class="login">
					<a href="{:U('Home/Index/login')}">登录</a> / <a href="{:U('Home/Index/register')}">注册</a>
				</div>
			</if>
			
		</div>
		<div class="lunbo">
			<img src="__PUBLIC__/Home/css/img/banner3_0.jpg">
		</div>
		<ul class="banner">
			<li>
				<a href="{:U('Home/Fen/addpage')}"><img src="__PUBLIC__/Home/img/cz.png">充值</a>
			</li>
			<li><a href="{:U('Home/Fen/xiapage')}"><img src="__PUBLIC__/Home/img/tk.png">提款</a></li>
			<li><a href="{:U('Home/Run/record')}"><img src="__PUBLIC__/Home/img/tz.png">投注记录</a></li>
			<if condition="C('is_qrcode') eq 1">
				<li><a href="{:U('Home/Run/tui')}?uid={$userinfo.id}"><img src="__PUBLIC__/Home/img/tg.png">代理推广</a></li>
			</if>
			
		</ul>
		<div class="clear"></div>
		<p class="cp">投注大厅</p>
		<div class="play">
			<if condition="in_array('pk10',explode(',',$auth['game']))" >
			<a href="{:U('Home/Run/pk10')}">
					<div class="game">
						<img src="__PUBLIC__/Home/img/pk.png">
						<p class="p1">北京PK10</p>
						<p class="p2" >每天09:07-24:00</p>
					</div>
			</a>
			</if>
			<if condition="in_array('xyft',explode(',',$auth['game']))" >
			<a href="{:U('Home/Run/xyft')}">
				<div class="game">
					<img src="__PUBLIC__/Home/img/ft.png">
					<p class="p1">{:C('lang_xyft')}</p>
					<p class="p2" >每天15:05-04:05</p>
				</div>
			</a>
			</if>
			<if condition="in_array('ssc',explode(',',$auth['game']))" >
				<a href="{:U('Home/Run/ssc')}">
					<div class="game">
						<img src="__PUBLIC__/Home/img/ssc.png">
						<p class="p1">{:C('lang_ssc')}</p>
						<p class="p2" >每天10:00-02:00</p>
					</div>
				</a>
			</if>
			<if condition="in_array('bj28',explode(',',$auth['game']))" >
				<a href="{:U('Home/Run/bj28')}">
					<div class="game">
						<img src="__PUBLIC__/Home/css/img/bj28_index2.png">
						<p class="p1">{:C('lang_bj28')}</p>
						<p class="p2" >每天9:05-23:55</p>
					</div>
				</a>
			</if>
			<if condition="in_array('jnd28',explode(',',$auth['game']))" >
				<a href="{:U('Home/Run/jnd28')}">
					<div class="game">
						<img src="__PUBLIC__/Home/css/img/jnd28_index2.jpg">
						<p class="p1">{:C('lang_jnd28')}</p>
						<p class="p2" >全天</p>
					</div>
				</a>
			</if>
			<if condition="in_array('k3',explode(',',$auth['game']))" >
				<a href="{:U('Home/Run/k3')}">
					<div class="game">
						<img src="__PUBLIC__/Home/css/img/k3js_index2.jpg">
						<p class="p1">{:C('lang_k3')}</p>
						<p class="p2" >每天8:30-10:30</p>
					</div>
				</a>
			</if>
			<if condition="in_array('k3bj',explode(',',$auth['game']))" >
				<a href="{:U('Home/Run/k3bj')}">
					<div class="game">
						<img src="__PUBLIC__/Home/css/img/k3bj_index2.jpg">
						<p class="p1">{:C('lang_k3bj')}</p>
						<p class="p2" >每天09：10-23：50</p>
					</div>
				</a>
			</if>
			<if condition="in_array('k3gx',explode(',',$auth['game']))" >
				<a href="{:U('Home/Run/k3gx')}">
					<div class="game">
						<img src="__PUBLIC__/Home/css/img/k3gx_index2.jpg">
						<p class="p1">{:C('lang_k3gx')}</p>
						<p class="p2" >每天9：27-22：27</p>
					</div>
				</a>
			</if>
			<if condition="in_array('k3jl',explode(',',$auth['game']))" >
				<a href="{:U('Home/Run/k3jl')}">
					<div class="game">
						<img src="__PUBLIC__/Home/css/img/k3jl_index2.jpg">
						<p class="p1">{:C('lang_k3jl')}</p>
						<p class="p2" >每天8:30-10:30</p>
					</div>
				</a>
			</if>
			<if condition="in_array('k3fj',explode(',',$auth['game']))" >
				<a href="{:U('Home/Run/k3fj')}">
					<div class="game">
						<img src="__PUBLIC__/Home/css/img/k3fj_index2.jpg">
						<p class="p1">{:C('lang_k3fj')}</p>
						<p class="p2" >每天8:10-22:10</p>
					</div>
				</a>
			</if>
			<if condition="in_array('k3ah',explode(',',$auth['game']))" >
				<a href="{:U('Home/Run/k3ah')}">
					<div class="game">
						<img src="__PUBLIC__/Home/css/img/k3ah_index2.jpg">
						<p class="p1">{:C('lang_k3ah')}</p>
						<p class="p2" >每天8:50-22:05</p>
					</div>
				</a>
			</if>
		</div>
		<ul class="footer">
			<li>
				<a href="{:U('Home/Run/index')}"><img src="__PUBLIC__/Home/img/s1.png">首页</a>
			</li>
			<li><a href="{:U('Home/Run/kaijiang')}?type=pk10"><img src="__PUBLIC__/Home/img/s2.png">开奖公告</a></li>
			<li><a href="http://p.qiao.baidu.com/cps/chat?siteId=14029615&userId=28001138&cp=http%3A%2F%2Fxiaomi.zwb100.com&cr=http%3A%2F%2Fxiaomi.zwb100.com&cw=%E5%B0%8F%E7%B1%B3%E5%88%9B%E6%8A%95"><img src="__PUBLIC__/Home/img/s3.png">在线客服</a></li>
			<li><a href="/Home/User/index"><img src="__PUBLIC__/Home/img/s4.png">个人中心</a></li>
		</ul>
	</body>
</html>